package com.chengliang0315.locationtest.util.location;

/**
 * 定位的详细信息
 */
public class LocationInfo {

    /** 经度 */
    private double longitude;
    /** 纬度 */
    private double latitude;
    /** 详细地址 */
    private String address;

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "经度=" + longitude +"\n"+
                ", 纬度=" + latitude +"\n"+
                ", 地址='" + address;
    }
}
